package com.service.impl;

import com.dao.EmpDao;
import com.service.EmpService;

public class EmpServiceImpl implements EmpService {
    private EmpDao dao;

    public EmpServiceImpl(EmpDao dao) {
        this.dao = dao;
    }

    @Override
    public String getNameById(Integer id) {
        return dao.getNameById(id);
    }
}
